//
//  PersistenceData.h
//  YueMi
//
//  Created by Rainbow on 4/27/11.
//  Copyright 2011 iTotemStudio. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "User.h"
#import "Shop.h"

@interface PersistenceData : NSObject {
    
}

+ (PersistenceData *)sharedData;

- (void)saveUser:(User *)user;
- (User *)getAllUser;
- (void)deleteUser;

- (BOOL)addShop:(Shop *)shop;
- (NSArray *)getAllShops;
- (void)deleteShop:(NSString *)shopId;
- (void)deleteAllShop;

- (void)addHistoryShop:(Shop *)shop;
- (NSArray *)getAllHistoryShops;
- (void)deleteAllHistoryShop;

@end
